02. Looking Forward
Capstone Component
A true understanding of the Android lifecycle is paramount to any Android developer. Understanding code placement, object initialization, and functionality in regards to the lifecycle will increase your app stability and performance. Think about your application - what information will need to persist through device orientation changes or the app is placed in the background? What views need to be initialized and referenced? Are there other considerations to take into account when structuring your code?
In This Lesson
As you are working through this lesson, think about the apps you use every day. Do you take calls or switch tasks while using the app? What about opening a browser to check out something on the web? When you do so, think about the following:
- What happens if you’re typing in a form and take a call?
- When you return is the content still there?
- Think about watching a video in an app, what happens if you switch focus to a notification?